<%--
  Created by IntelliJ IDEA.
  User: 夏彬
  Date: 2018/7/10
  Time: 21:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>客户</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/metro/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/clientsource.js"></script>
</head>
<div id="btn">
    <a id="btn_add" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
       onclick="add()">吸纳</a>
    <a id="btn_update" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"
       onclick="edit()">信息修改</a>
    <a id="btn_flash" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
       onclick="reload()">刷新</a>
<br>
    创建时间
    <input id="beginDate" name="beginDate" type="text" class="easyui-datebox"> </input>
    ~<input id="endingDate" name="endingDate" type="text" class="easyui-datebox"> </input>
    负责人查询:<input id="principalName" class="easyui-textbox" data-options="prompt:'请输入负责人'" style="width: 120px">
    关键字查询:<input id="keywords" class="easyui-textbox" data-options="prompt:'客户姓名电话邮箱查询'"
                 style="width: 180px">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reflush()">重置</a>
</div>


<table id="client_datagrid"></table>
<div id="client_dialog">

    <form id="ff" method="post" style="padding:40px 0px 0px 30px ">
        <table style="border-colleapse:separate;border-spacing: 10px;">
            <input id="clientId" name="id" type="hidden">
            <input id="developsgin" name="developsgin" type="hidden">
            <input id="state" name="state" type="hidden">
            <tr>
                <td>客户:</td>
                <td><input class="easyui-textbox" type="text" name="clientname" />
                </td>
            </tr>
            <tr>
                <td>身份证号:</td>
                <td><input class="easyui-textbox" type="text" name="idcard" />
                </td>
            </tr>
            <tr>
                <td>性别:</td>
                <td><input class="easyui-combobox" type="text" name="gender"
                           data-options="valueField:'value', textField:'text', data:[{
                    'value':'0','text':'女'},
                    {
                    'value':'1','text':'男'},
                    ],panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>年龄:</td>
                <td><input class="easyui-textbox" type="text" name="age" />
                </td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td><input class="easyui-textbox" type="text" name="email" />
                </td>
            </tr>
            <tr>
                <td>qq:</td>
                <td><input class="easyui-textbox" type="text" name="qq" />
                </td>
            </tr>
            <tr>
                <td>tel:</td>
                <td><input class="easyui-textbox" type="text" name="tel" />
                </td>
            </tr>
            <tr>
                <td>地址:</td>
                <td><input class="easyui-textbox" type="text" name="address" />
                </td>
            </tr>
            <tr>
                <td>客户来源:</td>
                <td><input class="easyui-combobox" type="text" name="source"
                           data-options="valueField:'introduce', textField:'introduce',url:'/dictionary/selectDictionarySingleBySn?sn=SOURCE' ,panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>职业:</td>
                <td><input class="easyui-combobox" type="text" name="profession"
                           data-options="valueField:'introduce', textField:'introduce', url:'/dictionary/selectDictionarySingleBySn?sn=PROFESSION',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>收入水平:</td>
                <td><input class="easyui-combobox" type="text" name="salary"
                           data-options="valueField:'introduce', textField:'introduce', url:'/dictionary/selectDictionarySingleBySn?sn=SALARY',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>创建时间:</td>
                <td><input class="easyui-datebox" type="text" name="inputdate" />
                </td>
            </tr>

        </table>
    </form>


</div>

<div id="tb">
    <a  class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="savesuccess()">保存</a>
    <a  class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="failsuccess()">取消</a>
</div>


</body>
</html>
